// To parse this JSON data, do
//
//     final proficiencyLevel = proficiencyLevelFromJson(jsonString);

import 'dart:convert';

List<ProficiencyLevel> proficiencyLevelFromJson(String str) =>
    List<ProficiencyLevel>.from(
        json.decode(str).map((x) => ProficiencyLevel.fromJson(x)));

String proficiencyLevelToJson(List<ProficiencyLevel> data) =>
    json.encode(List<dynamic>.from(data.map((x) => x.toJson())));

class ProficiencyLevel {
  bool? hidden;
  bool? intermediate;
  String? id;
  String? name;
  String? displayName;
  String? shortName;
  int? order;
  String? levelCode;
  String? color;
  String? sampleText;

  ProficiencyLevel({
    this.hidden,
    this.intermediate,
    this.id,
    this.name,
    this.displayName,
    this.shortName,
    this.order,
    this.levelCode,
    this.color,
    this.sampleText,
  });

  factory ProficiencyLevel.fromJson(Map<String, dynamic> json) =>
      ProficiencyLevel(
        hidden: json["hidden"],
        intermediate: json["intermediate"],
        id: json["id"],
        name: json["name"],
        displayName: json["displayName"],
        shortName: json["shortName"],
        order: json["order"],
        levelCode: json["levelCode"],
        color: json["color"],
        sampleText: json["sampleText"],
      );

  Map<String, dynamic> toJson() => {
        "hidden": hidden,
        "intermediate": intermediate,
        "id": id,
        "name": name,
        "displayName": displayName,
        "shortName": shortName,
        "order": order,
        "levelCode": levelCode,
        "color": color,
        "sampleText": sampleText,
      };
}
